package com.leo.ui;

import com.almasb.fxgl.app.scene.LoadingScene;
import com.almasb.fxgl.dsl.FXGL;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;

/**
 * 加载场景
 */
public class ClientLoadingScene extends LoadingScene {

    public ClientLoadingScene() {
        getContentRoot().getChildren().setAll(new Rectangle(FXGL.getAppWidth(), FXGL.getAppHeight(), Color.web("#666666")));
    }
}
